package com.vast.admin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.vast.admin.entity.DealRecord;
import com.vast.common.core.domain.entity.SysUser;
import org.apache.ibatis.annotations.Param;

public interface DealRecordMapper extends BaseMapper<DealRecord> {

    public IPage<DealRecord> queryList(@Param("page")Page<DealRecord> page , @Param("companyName")String companyName);

    public IPage<DealRecord> queryDealRecordList(@Param("page")Page<DealRecord> page, @Param("manager") SysUser manager, @Param("dealRecord")DealRecord dealRecord);
}
